#ifndef __WS2812B_H__
#define __WS2812B_H__

#include <Arduino.h>
#include <Ticker.h>
#include "FastLED.h"

/*函数声明*/
#ifdef __cplusplus
extern "C"
{
#endif
    void WS2812B_Init(void);//WS2812B初始化
    void WS2812B_SetGRB(uint8_t R, uint8_t G, uint8_t B);
    //void WS2812B_Open(void);
    void WS2812B_Close(void);//关闭WS2812B灯带
    void WS2812B_Breathing(uint8_t WS2812B_brightness);
    void WS2812B_SetBrightness(uint8_t brightness);
#ifdef __cplusplus
}
#endif


#endif
